<template>
  <div class="qiyegaikuang">
    <div style="display:flex;flex-direction:column; justify-content: space-between;">
      <div style="display:flex;">
        <div style="width: 200px;">
          <div style="font-size: 15px;">{{qiyeinfo.companyName ? qiyeinfo.companyName : '-'}}</div>
          <div style="color: #C0C0BE;padding-top: 5px;font-size: 12px;">企业名称</div>
        </div>
        <div>
          <div style="font-size: 15px;">{{qiyeinfo.trustCreditCode ? qiyeinfo.trustCreditCode : '-'}}</div>
          <div style="color: #C0C0BE;padding-top: 5px;font-size: 12px;">统一社会信用代码</div>
        </div>
      </div>
      <div style="display:flex;">
        <div style="width: 200px;">
          <div style="font-size: 15px;">{{qiyeinfo.businessRegistrationNumber ? qiyeinfo.businessRegistrationNumber : '-'}}</div>
          <div style="color: #C0C0BE;padding-top: 5px;font-size: 12px;">工商注册号</div>
        </div>
        <div>
          <div style="font-size: 15px;">{{qiyeinfo.organizationCode ? qiyeinfo.organizationCode : '-'}}</div>
          <div style="color: #C0C0BE;padding-top: 5px;font-size: 12px;">组织机构代码</div>
        </div>
      </div>
      <div style="display:flex;">
        <div style="width: 200px;">
          <div style="font-size: 15px;">{{qiyeinfo.registrationAuthority ? qiyeinfo.registrationAuthority : '-'}}</div>
          <div style="color: #C0C0BE;padding-top: 5px;font-size: 12px;">登记机关</div>
        </div>
        <div>
          <div style="font-size: 15px;">{{qiyeinfo.foundDate ? qiyeinfo.foundDate : '-'}}</div>
          <div style="color: #C0C0BE;padding-top: 5px;font-size: 12px;">成立日期</div>
        </div>
      </div>
      <div style="display:flex;">
        <div style="width: 200px;">
          <div style="font-size: 15px;">{{qiyeinfo.enterpriseNature ? qiyeinfo.enterpriseNature : '-'}}</div>
          <div style="color: #C0C0BE;padding-top: 5px;font-size: 12px;">企业性质</div>
        </div>
        <div>
          <div style="font-size: 15px;">{{qiyeinfo.legalPersonName ? qiyeinfo.legalPersonName : '-'}}</div>
          <div style="color: #C0C0BE;padding-top: 5px;font-size: 12px;">法人姓名</div>
        </div>
      </div>
      <div style="display:flex;">
        <div style="width: 200px;">
          <div style="font-size: 15px;">{{qiyeinfo.registeredCapital ? qiyeinfo.registeredCapital : '-'}}</div>
          <!-- <div style="font-size: 15px;">100万人民币</div> -->
          <div style="color: #C0C0BE;padding-top: 5px;font-size: 12px;">注册资金</div>
        </div>
        <div>
          <!-- <div style="font-size: 15px;">91110105MA01BMR854</div> -->
          <!-- <div style="color: #C0C0BE;padding-top: 5px;font-size: 12px;">注册资本</div> -->
        </div>
      </div>
    </div>
  </div>
</template>
<script>

import axios from 'axios'

export default {
  name: "qiyegaikuang",
  components: {},
  data() {
    return {
      qiyeinfo: {

      }
    };
  },
  computed: {},
  watch: {},
  mounted() {
    this.loadData()
  },
  methods: {
    loadData(){
      console.log(111111111111);
      axios({
        url: 'http://39.103.184.219:19007/api/emp/info/140500925346824192',
        method: 'get'
      }).then(res =>{
        this.qiyeinfo = res.data.data
        // console.log(res);
      })
    }
  }
};
</script>
<style lang='scss' scoped>
.qiyegaikuang {
  padding: 10px 20px;
  width: 100%;
  // height: 100%;
  height: calc(100% - 30px);
  border-left: 2px solid #10DAFF;
  border-right: 2px solid #10DAFF;
  background-color: #5555;
  margin: 20px 0px;
}
</style>